<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page import="java.text.SimpleDateFormat"%>
<%@ page import="java.util.Date"%>

<html>
	<head>
		<title>Hello Repple</title>
	</head>
	<body>
<%
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
out.println("Hello Repple, now is " + df.format(new Date()));
%>
		<br><br><br>
		<form action="http://localhost:8080/ServletStudy/userLogin" method="get">
			<table>
				<tr>
					<td>用户名：</td>
					<td colspan=2><input type="text" name="username"></td>
				</tr>
				<tr>
					<td>密  码：</td>
					<td colspan=2><input type="password" name="password"></td>
				</tr>
				<tr>
					<td><input type="submit" value="登录"></td>
					<td><input type="reset" value="重置"></td>
					<td><a href="userRegister.html">新用户注册</a></td>
				</tr>
			</table>
		</form>
	</body>
</html>
